#!/usr/bin/env python
# coding: utf-8

# 请编写一个程序，以`subjects`中的词做主语，`verbs`中的词做谓语，`objects`中的词做宾语，生成所有主谓宾结构的句子。    
# 
# 输入：
# + `subjects = ["I", "You"]`
# + `verbs = ["Play", "Love"]`
# + `objects = ["Hockey", "Football"]`
# 
# 预期输出：
# + 第一行：`I Play Hockey`
# + 第二行：`I Play Football`
# + 第三行：`I Love Hockey`
# + 第四行：`I Love Football`
# + 第五行：`You Play Hockey`
# + 第六行：`You Play Football`
# + 第七行：`You Love Hockey`
# + 第八行：`You Love Football`
# 

# In[1]:


subjects = ["I", "You"]
verbs = ["Play", "Love"]
objects = ["Hockey", "Football"]
for sub in subjects:
    for verb in verbs:
        for obj in objects:
            print("{} {} {}".format(sub, verb, obj))


# In[ ]:




